package com.zappee.puremvc.control.command
{
	import com.zappee.puremvc.ApplicationFacade;
	import com.zappee.puremvc.model.*;
	import com.zappee.puremvc.view.*;
	import com.zappee.puremvc.view.components.*;
	
	import org.puremvc.as3.interfaces.ICommand;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	public class StartUpCommand extends SimpleCommand implements ICommand
	{
		
		override public function execute(notification:INotification):void
		{
			
			facade.registerProxy( new MainProxy() );
			facade.registerProxy( new BugsProxy() );

			var app:Main = notification.getBody() as Main;

			
			// Send first Notification here...
			sendNotification(ApplicationFacade.APP_START_COMPLETE);
		
		}
		
	}
}